package com.jhgsys.internal.sypq.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jhgsys.internal.common.entity.QueryRequest;
import com.jhgsys.internal.sypq.entity.*;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.*;

/**
 * 任务管理 Service接口
 *
 * @author ganjun
 * @date 2024-11-18 10:06:38
 */
public interface IScheduleService extends IService<Task> {

    List<TaskDto> findTaskList(TaskDto taskDto);

    List<ScheduleDto>  findTaskPage(TaskDto taskDto,boolean isAdmin);

    void  updateSchedule(TaskDto taskDto) throws Exception;

    void commit(TaskDto taskDto) throws Exception;

     void  batchCommit(TaskDto taskDto,Boolean isAdmin);

     boolean saveAudit(WorkflowRecord workflowRecord);

    void  batchAudit(TaskDto taskDto,Boolean isAdmin) throws Exception;

    void   oneKeyAssemblie(TaskDto taskDto,boolean isAdmin) throws Exception;

    void  deleteSchedule(String taskcode,int status);

    Date getMaxPlanEnddate();

    List<TaskDto> findExcelList(TaskDto taskDto);

    List<TaskTestDto> getTaskTestList(String  rscode);

         List<TaskDto> getAssembledTask(TaskDto taskDto);

         String  checkTask(TaskDto taskDto);

        Date  getMinPlanDate(String  taskCode);
}
